<?php

/**
 * 管理员实体类
 */

namespace service\vo\admin;

class Admin
{
    /**
     * id
     */
    private int $id;

    /**
     * 用户名
     */
    private string $username;

    /**
     * 密码
     */
    private string $password;

    /**
     * 状态
     */
    private int $status;

    /**
     * 状态描述
     */
    private string $statusRemark;

    /**
     *  是否是超管
     */
    private int $isSuper;

    /**
     * 添加时间
     */
    private string $addTime;

    public function getId(): int
    {
        return $this->id;
    }

    public function setId(int $id): void
    {
        $this->id = $id;
    }

    public function getUsername(): string
    {
        return $this->username;
    }

    public function setUsername($username): void
    {
        $this->username = $username;
    }

    public function getPassword(): string
    {
        return $this->password;
    }

    public function setPassword($password): void
    {
        $this->password = $password;
    }

    public function getStatus(): int
    {
        return $this->status;
    }

    public function setStatus($status): void
    {
        $this->status = $status;
    }

    public function getStatusRemark(): string
    {
        return $this->statusRemark;
    }

    public function setStatusRemark($statusRemark): void
    {
        $this->statusRemark = $statusRemark;
    }

    /**
     * @return int
     */
    public function getIsSuper(): int
    {
        return $this->isSuper;
    }

    /**
     * @param int $isSuper
     */
    public function setIsSuper(int $isSuper): void
    {
        $this->isSuper = $isSuper;
    }

    public function getAddTime(): string
    {
        return $this->addTime;
    }

    public function setAddTime($addTime): void
    {
        $this->addTime = $addTime;
    }
}
